#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Transfer.nanopb.h"
#ifndef MAX_TRANSFER_TRANSFER_NUM
#define MAX_TRANSFER_TRANSFER_NUM 20
#endif

class TransferDesc : public NFI_DESC_TEMPLATE_MACRO(TransferDesc, E_Transfer, EOT_CONST_TRANSFER_TRANSFER_DESC_ID, MAX_TRANSFER_TRANSFER_NUM)
public:
	TransferDesc();
	virtual ~TransferDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
